/*
	Copyright (C) 2010 Salil Bhagurkar

	This file is part of k3

	k3 is free software: you can redistribute it and/or modify
	it under the terms of the GNU Lesser General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	k3 is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU Lesser General Public License for more details.

	You should have received a copy of the GNU Lesser General Public License
	along with k3.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef _STRING_H_
#define _STRING_H_

/*Library functions copied from here and there*/


char * strcpy(char *,const char *);
char *string_copy(char *, const char *, unsigned);
char * strncpy(char *,const char *, size_t);
size_t strlcpy(char *, const char *, size_t);
char * strcat(char *, const char *);
char * strncat(char *, const char *, size_t);
size_t strlcat(char *, const char *, size_t);
int strcmp(const char *,const char *);
int strncmp(const char *,const char *,size_t);
int strnicmp(const char *, const char *, size_t);
char * strchr(const char *,int);
char * strnchr(const char *, size_t, int);
char * strrchr(const char *,int);
char * strstrip(char *);
char * strstr(const char *,const char *);
size_t strlen(const char *);
size_t strnlen(const char *,size_t);
char * strpbrk(const char *,const char *);
char * strsep(char **,const char *);
size_t strspn(const char *,const char *);
size_t strcspn(const char *,const char *);
void * memset(void *,int,size_t);
void *memsetw(void *s, int c, size_t count);
void * memcpy(void *,const void *,size_t);
void * memmove(void *,const void *,size_t);
void * memscan(void *,int,size_t);
int memcmp(const void *,const void *,size_t);
void * memchr(const void *,int,size_t);


#endif
